package cn.wen.springframework.beans.factory.support;import cn.wen.springframework.beans.BeansException;import cn.wen.springframework.beans.factory.config.BeanDefinition;import java.lang.reflect.Constructor;/** * @ClassName: InstantiationStrategy * @Author: 小飞 * @Date: 2023/3/27 0:33 * @Description: Bean 实例化策略，实例化策略的接口 */public interface InstantiationStrategy {    // 通过传入 BeanDefinition 数据类、参数、beanName 实现含参构造    Object instantiate(BeanDefinition beanDefinition, String beanName, Constructor ctor, Object[] args) throws BeansException;}